package com.markerhub.service;

import com.markerhub.common.lang.Result;
import com.markerhub.entity.TeachingCalling;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TeachingCallingService extends IService<TeachingCalling> {
    public Result startCalling(Integer classId, Integer teacherId);
    public Result getStudentPendingCalls(Integer studentId);
    public Result studentAnswer(Integer callId, Integer stuInClassId);

    Result getActiveCall(Integer classId);
    Result endCalling(Integer callId);
    public Result getCallingStats(Integer callId);
    Result getCallingDetails(Integer callId);
}
